#include "createfood.h"
void create(){
     srand(time(NULL));
     she *food=(she *)malloc(sizeof(she));
     food->x=rand()%18+1;
     food->y=rand()%28+1;
     q=head->next;
     while(q)    
    {
        if(q->x == food->x && q->y == food->y)
        {
            food->x = rand()%18+1;
            food->y = rand()%28+1;
            q = head;
        }
        q = q->next;
    }
    cunchufood=food;
    background[food->x][food->y] = 65;
}